home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / OKUBAN2.M3 < prev    next >
Text File  |  1996-04-01  |  3KB  |  130 lines

  1. name Okuma/Bandit 2  2 Axis
  2.  
  3. / 00
  4. & 00
  5. N >4
  6. X ->3.>4
  7. A 00 /
  8. Y ->3.>4
  9. I ->3.>4
  10. J ->3.>4
  11. Q ->3.>4 Z
  12. E >3.>1 F
  13. F >3.>1
  14. T >22
  15. M >2
  16. G >2
  17.  
  18. ModalGs 0 1 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  19.  
  20. ModalLetters X Y F                    # List of letters that are modal    
  21.  
  22. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  23.  
  24. HCode X                               # X or X U  'Horizontal char.       
  25. VCode Y                               # Y or Y V  'Vertical char.         
  26. FeedCode F                            # Feed rate char.                   
  27.  
  28. Comment ( )                           # Begin End comment char.           
  29.  
  30. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  31. Coolant 8 9 7                         # On, Off & Mist m codes            
  32. DComp 41 42 40                        # Left, Right & Cancel m codes      
  33. LComp                                 # On & Off codes                    
  34.  
  35. Spaces? Y                             # Y or N  'Spaces between words     
  36.  
  37. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  38. ByQuadrants? y                        # Y or N  'Break arcs at quadrants  
  39.  
  40. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  41.  
  42. CtrCode I J                           # I J or R or I J K L               
  43. Helical? N
  44.  
  45. Incremental? N                        # Y or N  'Inc or abs output        
  46.  
  47. Feed                                  # Linear move                       
  48. Rapid F50                           # Rapid positioning word            
  49. Cw                                    # Circular move clockwise           
  50. Ccw                                   # Circular move counter clockwise   
  51.  
  52. RevSigns Q                            # List of letters to reverse signs  
  53.  
  54. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  55.  
  56. Drill                                 # Drilling canned/manual cycle      
  57. I[H] J[V]
  58. M0
  59. end
  60.  
  61. Peck                                  # Pecking canned/manual cycle       
  62. I[H] J[V]
  63. M0
  64. end cancel
  65.  
  66. Tap                                   # Tapping canned/manual cycle       
  67. I[H] J[V]
  68. M0
  69. end cancel
  70.  
  71. LTap                                  # Left handed tapping cycle         
  72. I[H]  J[V]
  73. M0
  74. end cancel
  75.  
  76. Ream                                  # Reaming canned/manual cycle       
  77. I[H] J[V]
  78. M0
  79. end
  80.  
  81. Bore                                  # Boring canned/manual cycle        
  82. I[H] J[V]
  83. M0
  84. end cancel
  85.  
  86. Back                                  # Back boring canned/manual cycle   
  87. I[H] J[V]
  88. M0
  89. end cancel
  90.  
  91. Cancel                                # Cancel a canned/manual cycle      
  92. G80
  93. end
  94.  
  95. StartCode                             # Start of the program              
  96. &0
  97. G90
  98. X0 Y0 G92
  99. End
  100.  
  101. 1stToolChange                         # First tool change                 
  102. I[H] J[V]
  103. M6
  104. End
  105.  
  106. Infeed                                # Enable cutter comp                
  107. F[Plunge]
  108. F[Frate]
  109. G[Side]
  110. X[H] Y[V]
  111. end
  112.  
  113. Outfeed                               # Disable cutter comp               
  114. G40 X[H] Y[V]
  115. end
  116.  
  117. ToolChange                            # Secondary tool changes            
  118. I[ToolH] J[ToolV]
  119. M6
  120. I0 J0
  121. X0 Y0 G92
  122. End
  123.  
  124. EndCode                               # End of the program                
  125. I0 J0
  126. M2
  127. End
  128.  
  129.  
  130.